

<template>
  <div class="container">
    <h1>欢迎来到大剑师的GIS世界</h1>
    <h3 style="color: #42b983; cursor: pointer" @click="goUrl()">
      点击查看blog
    </h3>

    <div style="margin-top: 50px">
      <img :src="url" alt="" />
    </div>
    <p>本示例代码基于 vue2+vite 开发</p>
    <P style="color: #42b983; cursor: pointer" @click="goUrl2()"> 点击下载</P>
  </div>
</template>

<script>
import imgurl from "@/assets/dajianshi.png";

let a;
let b = a?.name;

console.log('b', b);


export default {
  name: "dajianshiGIS",
  data () {
    return {
      url: imgurl,
    };
  },
  methods: {
    goUrl () {
      window.location.href = "https://blog.csdn.net/cuclife";
    },
    goUrl2 () {
      window.location.href = "https://blog.csdn.net/cuclife";
    },
  },
  mounted () { },
};
</script>

<style scoped>
.container {
  width: 1000px;
  height: 500px;
  margin: 50px auto;
  border: 1px solid #42b983;
  padding-top: 50px;
}
</style>
